import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import electron from "vite-plugin-electron";

// https://vite.dev/config/
export default defineConfig({
  plugins: [
    vue(),
    electron({
      // 主进程入口文件
      entry: "./src-electron/main.js",
    }),
  ],
  resolve: {
    alias: {
      "@": `${__dirname}/src`,
    },
  }
});
